package com.dimeng.entity;

import java.io.Serializable;

/**
 * @author write by ccn<br>
 * <b>helloandroid100@gmail.com</b>
 * @version 0.1;2012-5-8 下午3:38:58<br>
 * descrition:资讯实体
 */
public class Info implements Serializable{
	private static final long serialVersionUID = 5640757128650437406L;
	private int id;//资讯id
	private Integer catId;//资讯类别Id
	private String author;//作者
	private String source;//来源
	private String title;//资讯标题
	private String prefixContent;//文章前面的一小段内容
	private String content;//文章内容
	private String imageUrl;//资讯标题略缩图url
	private String createTime;
	@Override
	public String toString() {
		return "[id="+id+",catId="+catId+",title="+title+",prefixContent="+prefixContent+",content="+content+",createTime="+createTime+"]";
	}
	public int getId() {
		return id;
	}
	public Integer getCatId() {
		return catId;
	}
	public void setCatId(Integer catId) {
		this.catId = catId;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	public String getPrefixContent() {
		return prefixContent;
	}
	public void setPrefixContent(String prefixContent) {
		this.prefixContent = prefixContent;
	}
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
}
